.class public Lcom/glympse/android/glympseservice/NotificationList$NotificationBase;
.super Landroid/app/Notification;
.source "NotificationList.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/glympse/android/glympseservice/NotificationList;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x4
    name = "NotificationBase"
.end annotation


# instance fields
.field private m_fDelete:Z

.field private m_lTicketId:J

.field protected m_nId:I

.field final synthetic this$0:Lcom/glympse/android/glympseservice/NotificationList;


# direct methods
.method private constructor <init>(Lcom/glympse/android/glympseservice/NotificationList;J)V
    .locals 2
    .parameter
    .parameter "lTicketId"

    .prologue
    .line 421
    iput-object p1, p0, Lcom/glympse/android/glympseservice/NotificationList$NotificationBase;->this$0:Lcom/glympse/android/glympseservice/NotificationList;

    .line 418
    invoke-direct {p0}, Landroid/app/Notification;-><init>()V

    .line 413
    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/glympse/android/glympseservice/NotificationList$NotificationBase;->m_fDelete:Z

    .line 414
    invoke-static {p1}, Lcom/glympse/android/glympseservice/NotificationList;->access$0(Lcom/glympse/android/glympseservice/NotificationList;)I

    move-result v0

    add-int/lit8 v1, v0, 0x1

    invoke-static {p1, v1}, Lcom/glympse/android/glympseservice/NotificationList;->access$1(Lcom/glympse/android/glympseservice/NotificationList;I)V

    iput v0, p0, Lcom/glympse/android/glympseservice/NotificationList$NotificationBase;->m_nId:I

    .line 415
    const-wide/16 v0, 0x0

    iput-wide v0, p0, Lcom/glympse/android/glympseservice/NotificationList$NotificationBase;->m_lTicketId:J

    .line 420
    iput-wide p2, p0, Lcom/glympse/android/glympseservice/NotificationList$NotificationBase;->m_lTicketId:J

    return-void
.end method

.method synthetic constructor <init>(Lcom/glympse/android/glympseservice/NotificationList;JLcom/glympse/android/glympseservice/NotificationList$NotificationBase;)V
    .locals 0
    .parameter
    .parameter
    .parameter

    .prologue
    .line 418
    invoke-direct {p0, p1, p2, p3}, Lcom/glympse/android/glympseservice/NotificationList$NotificationBase;-><init>(Lcom/glympse/android/glympseservice/NotificationList;J)V

    return-void
.end method

.method private Remove()V
    .locals 3

    .prologue
    .line 462
    iget-object v1, p0, Lcom/glympse/android/glympseservice/NotificationList$NotificationBase;->this$0:Lcom/glympse/android/glympseservice/NotificationList;

    invoke-static {v1}, Lcom/glympse/android/glympseservice/NotificationList;->access$2(Lcom/glympse/android/glympseservice/NotificationList;)Lcom/glympse/android/glympseservice/NotificationList$NotificationBase;

    move-result-object v1

    if-ne p0, v1, :cond_0

    .line 464
    sget-object v1, Lcom/glympse/android/glympseservice/GlympseService;->ms_oThis:Lcom/glympse/android/glympseservice/GlympseService;

    const/4 v2, 0x1

    invoke-static {v1, v2}, Lcom/glympse/platform/Reflection$_Service;->stopForeground(Landroid/app/Service;Z)V

    .line 465
    iget-object v1, p0, Lcom/glympse/android/glympseservice/NotificationList$NotificationBase;->this$0:Lcom/glympse/android/glympseservice/NotificationList;

    const/4 v2, 0x0

    invoke-static {v1, v2}, Lcom/glympse/android/glympseservice/NotificationList;->access$3(Lcom/glympse/android/glympseservice/NotificationList;Lcom/glympse/android/glympseservice/NotificationList$NotificationBase;)V

    .line 470
    :cond_0
    :try_start_0
    iget-object v1, p0, Lcom/glympse/android/glympseservice/NotificationList$NotificationBase;->this$0:Lcom/glympse/android/glympseservice/NotificationList;

    invoke-virtual {v1}, Lcom/glympse/android/glympseservice/NotificationList;->GetNotificationManager()Landroid/app/NotificationManager;

    move-result-object v1

    iget v2, p0, Lcom/glympse/android/glympseservice/NotificationList$NotificationBase;->m_nId:I

    invoke-virtual {v1, v2}, Landroid/app/NotificationManager;->cancel(I)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    .line 476
    :goto_0
    return-void

    .line 472
    :catch_0
    move-exception v1

    move-object v0, v1

    .line 474
    .local v0, e:Ljava/lang/Exception;
    invoke-static {v0}, Lcom/glympse/platform/common/Helpers;->Log(Ljava/lang/Throwable;)V

    goto :goto_0
.end method

.method static synthetic access$1(Lcom/glympse/android/glympseservice/NotificationList$NotificationBase;Z)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 413
    iput-boolean p1, p0, Lcom/glympse/android/glympseservice/NotificationList$NotificationBase;->m_fDelete:Z

    return-void
.end method

.method static synthetic access$2(Lcom/glympse/android/glympseservice/NotificationList$NotificationBase;)J
    .locals 2
    .parameter

    .prologue
    .line 415
    iget-wide v0, p0, Lcom/glympse/android/glympseservice/NotificationList$NotificationBase;->m_lTicketId:J

    return-wide v0
.end method

.method static synthetic access$3(Lcom/glympse/android/glympseservice/NotificationList$NotificationBase;)Z
    .locals 1
    .parameter

    .prologue
    .line 413
    iget-boolean v0, p0, Lcom/glympse/android/glympseservice/NotificationList$NotificationBase;->m_fDelete:Z

    return v0
.end method

.method static synthetic access$4(Lcom/glympse/android/glympseservice/NotificationList$NotificationBase;)V
    .locals 0
    .parameter

    .prologue
    .line 456
    invoke-direct {p0}, Lcom/glympse/android/glympseservice/NotificationList$NotificationBase;->Remove()V

    return-void
.end method


# virtual methods
.method protected GetWatchingIcon(I)I
    .locals 1
    .parameter "nWatching"

    .prologue
    .line 430
    const/16 v0, 0xa

    if-lt p1, v0, :cond_0

    const v0, 0x7f020088

    .line 441
    :goto_0
    return v0

    .line 431
    :cond_0
    const/16 v0, 0x9

    if-lt p1, v0, :cond_1

    const v0, 0x7f020087

    goto :goto_0

    .line 432
    :cond_1
    const/16 v0, 0x8

    if-lt p1, v0, :cond_2

    const v0, 0x7f020086

    goto :goto_0

    .line 433
    :cond_2
    const/4 v0, 0x7

    if-lt p1, v0, :cond_3

    const v0, 0x7f020085

    goto :goto_0

    .line 434
    :cond_3
    const/4 v0, 0x6

    if-lt p1, v0, :cond_4

    const v0, 0x7f020084

    goto :goto_0

    .line 435
    :cond_4
    const/4 v0, 0x5

    if-lt p1, v0, :cond_5

    const v0, 0x7f020083

    goto :goto_0

    .line 436
    :cond_5
    const/4 v0, 0x4

    if-lt p1, v0, :cond_6

    const v0, 0x7f020082

    goto :goto_0

    .line 437
    :cond_6
    const/4 v0, 0x3

    if-lt p1, v0, :cond_7

    const v0, 0x7f020081

    goto :goto_0

    .line 438
    :cond_7
    const/4 v0, 0x2

    if-lt p1, v0, :cond_8

    const v0, 0x7f020080

    goto :goto_0

    .line 439
    :cond_8
    const/4 v0, 0x1

    if-lt p1, v0, :cond_9

    const v0, 0x7f02007f

    goto :goto_0

    .line 441
    :cond_9
    const v0, 0x7f02007e

    goto :goto_0
.end method

.method protected IsOngoing()Z
    .locals 1

    .prologue
    .line 447
    const/4 v0, 0x0

    return v0
.end method

.method protected Update(Lcom/glympse/platform/common/Ticket;IIIIJJ)V
    .locals 0
    .parameter "oTicket"
    .parameter "nActive"
    .parameter "nWatching"
    .parameter "nHaveWatched"
    .parameter "nRecipients"
    .parameter "lRemaining"
    .parameter "lSystemTime"

    .prologue
    .line 453
    return-void
.end method
